package com.qdxwx.data.service.user;

import com.qdxwx.models.user.UserToken;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface UserTokenService {

    UserToken getByToken(String token);

    UserToken get(long userId);

    UserToken create(long userId);

    int save(UserToken token);

    int delete(long userId);
}
